﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

namespace UEngine
{
    /// <summary>
    /// TS:two state
    /// </summary>
    /// <typeparam name="T1"></typeparam>
    /// <typeparam name="T2"></typeparam>
    public class TSPool<T1, T2>
    {
        protected Dictionary<T1, T2> m_mainPool = new Dictionary<T1, T2>();
        protected Queue<T1> m_indexs = new Queue<T1>();
        protected int maxCount = 16;

        void Init()
        {
            
        }

        void Spawn()
        {
            
        }

    }
}

